<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<script>
  var newGameFun = function(event){
      window.newGameObj.innerHTML = "Loading...";
      console.log(["New Game started"]);
      window.location = "game.html"
  }


  window.onload = function (){
    window.newGameObj = document.getElementById('newGame');
    console.log([newGameObj.innerHTML]);
    newGameObj.addEventListener('touchend',newGameFun);
  }
</script>
<style type="text/css">
    .button {
        -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
        -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
        box-shadow:inset 0px 1px 0px 0px #ffffff;
        background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
        background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
        background-color:#ededed;
        -moz-border-radius:6px;
        -webkit-border-radius:6px;
        border-radius:6px;
        border:1px solid #dcdcdc;
        display:inline-block;
        color:#777777;
        font-family:arial;
        font-size:15px;
        font-weight:bold;
        padding:6px 24px;
        text-decoration:none;
        text-shadow:1px 1px 0px #ffffff;
    }.button:hover {
         background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
         background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
         filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
         background-color:#dfdfdf;
     }.button:active {
          position:relative;
          top:1px;
      }
        /* This imageless css button was generated by CSSButtonGenerator.com */
</style>
<body>
<div class="button" id="newGame">
 New Game
</div>
<div class="button" id="quit">
    Quit
</div>
</body>
</html>